//
//  ZJSIRemarkView.h
//  ShangHaiHuDongApp
//
//  Created by ZJ on 2017/6/13.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import "ZJShareIssueBaseView.h"
#import "XXTextView.h"
#import "LVRecordTool.h"
@protocol ZJSIRemarkViewDelegate <NSObject>
//录音成功
- (void)ZJSIRemarkViewDelegate_RemarkSuccess:(NSData *)remarkData;
@end

///备注view
@interface ZJSIRemarkView : ZJShareIssueBaseView
/** 录音工具 */
@property (nonatomic, strong) LVRecordTool *recordTool;
/** 输入框 */
@property (nonatomic, strong) XXTextView *textView;
/** 代理 */
@property (nonatomic, weak) id<ZJSIRemarkViewDelegate> delegate;
/** 最大的输入长度 */
@property (nonatomic, assign) NSInteger maxNumber;
@end


@protocol ZJVoiceViewDelegate <NSObject>

@optional
- (void)ZJVoiceViewDelegate_deleteButtonClick;
- (void)ZJVoiceViewDelegate_PlayVoice;
@end

///语音播放按钮
@interface ZJVoiceView : UIView
/** XX */
@property (nonatomic, strong) UIButton * deleteButton;
/** time */
@property (nonatomic, strong) NSString *time;
/** 代理 */
@property (nonatomic, weak) id<ZJVoiceViewDelegate> delegate;

@end
